package www.bw.com.entities;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Movie {

  private Integer id;
  private String yname;
  private String dname;
  private Integer price;
  private Date sdate;
  private Integer stime;
  private String ytype;
  private Integer ndate;
  private String qy;
  private Integer status;

  @Override
  public String toString() {
    return "Movie{" +
      "id=" + id +
      ", yname='" + yname + '\'' +
      ", dname='" + dname + '\'' +
      ", price=" + price +
      ", sdate=" + sdate +
      ", stime=" + stime +
      ", ytype='" + ytype + '\'' +
      ", ndate=" + ndate +
      ", qy='" + qy + '\'' +
      ", status=" + status +
      '}';
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getYname() {
    return yname;
  }

  public void setYname(String yname) {
    this.yname = yname;
  }

  public String getDname() {
    return dname;
  }

  public void setDname(String dname) {
    this.dname = dname;
  }

  public Integer getPrice() {
    return price;
  }

  public void setPrice(Integer price) {
    this.price = price;
  }

  public Date getSdate() {
    return sdate;
  }

  public void setSdate(Date sdate) {
    this.sdate = sdate;
  }

  public Integer getStime() {
    return stime;
  }

  public void setStime(Integer stime) {
    this.stime = stime;
  }

  public String getYtype() {
    return ytype;
  }

  public void setYtype(String ytype) {
    this.ytype = ytype;
  }

  public Integer getNdate() {
    return ndate;
  }

  public void setNdate(Integer ndate) {
    this.ndate = ndate;
  }

  public String getQy() {
    return qy;
  }

  public void setQy(String qy) {
    this.qy = qy;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }
}
